package com.android.fastride.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.android.fastride.R;
import com.android.fastride.activity.base.BaseActivity;
import com.android.fastride.view.fragment.DispatchCountFragment;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class TestActivity extends BaseActivity {
    private static final String TAG = "TestActivity";
    @BindView(R.id.btn_main)
    Button btnMain;
    @BindView(R.id.btn_details)
    Button btnDetails;
    @BindView(R.id.btn_rating)
    Button btnRating;
    @BindView(R.id.btn_count)
    Button btnCount;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.test);
        // 设置透明状态栏
//        setTransparentStatusBar();
        ButterKnife.bind(this);
    }

    @OnClick({R.id.btn_main, R.id.btn_details, R.id.btn_rating, R.id.btn_count})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.btn_main:
                MainActivity.start(this);
                break;
            case R.id.btn_details:
//                ProxyFragmentActivity.start(this, );
                break;
            case R.id.btn_rating:
                break;
            case R.id.btn_count:
                ProxyFragmentActivity.start(this, DispatchCountFragment.class);
                break;
        }
    }
}
